*{
    margin: 0;
    padding: 0;
}
/* -------------------------------------导航--------------------------------- */
.nav{
    width: 100%;
    height: 80px;
    position: relative;
    top: 0;
    /* 悬浮在最上方 */
    z-index: 10;
    background:white;

}
.logo{
  width: 62px;
  height: 80px;  
  background: url(../imgs/logo.png);
  float: left;
  margin-left: 10%;
   
}
.nav ul li{
    width: 150px;
    height: 80px;
    float: left;
    border-radius: 10px;
    list-style-type: none;
    text-align: center;
    margin-left: 2%;
    background-color: transparent;
}
.nav ul li a{
    text-decoration: none;
    color: black;
    display: block;
    /* 跟随父元素高度 */
    height: inherit;
    line-height: 80px;
}
.nav ul li:hover{
    background-color:rgba(128, 128, 128,0.5);
}
.nav ul li a:hover{
    color: rgb(175, 42, 1);
}
/* ----------------------------------------导航栏结束 --------------------------------*/
/* ---------------------------------------------子导航------------------------------- */
header{
    position: relative;
    top: -80px;
    width: 100vw;
    height: 100vh;
    background-color: coral;
    background: url(../imgs/banner.jpg) no-repeat;
    background-size: 100% 100%;
}
h1,p{
    font-family: '宋体';
    color: black;
    position: relative;
    top: 40%;
    left: 10%;
}
.sunav{
    width: 400px;
    height: 40%;
    /* border: 1px solid; */
    position: relative;
    top: 45%;
    left: 10%;
}
.sunav ul{
    width: 100%;
    height: 100%;
}
.sunav ul li{
    width: 100%;
    height: 16%;
    list-style-type: none;
    /* border: 1px solid; */
}
.sunav ul li a{
    color: black;
    text-decoration: none;
}
.sunav ul li a:hover{
    color: rgb(175, 42, 1);
}
/* -----------------------------------子导航结束----------------------------- */
/* -----------------------------------------------系部介绍开始---------------------------------- */
#computer{
    width: 100%;
    height: 500px;
    background-color: rgba(128, 128, 128, 0.2);
}
#computer>p{
    color: black;
    font-size: 40px;
    position: relative;
    top: 5%;
    left: 10%;
    float: left;
    font-family: '宋体';
}
.computer_left{
    width: 25%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 15%;
    float: left;
    background: url(../imgs/xilogo/A.jpg) no-repeat;
    background-size: 100% 100%;
}
.computer_right{
    width: 40%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 20%;
    float: left;
}
.computer_right p{
    font-size: 23px;
    position: relative;
    left: 0;
    top: 0;
    text-indent: 46px;
}
#yejin{
    width: 100%;
    height: 500px;
    background-color:rgba(175, 42, 1, 0.2);
}
#yejin>p{
    color: black;
    font-size: 40px;
    position: relative;
    top: 5%;
    left: 10%;
    float: left;
    font-family: '宋体';
}
.yejin_left{
    width: 25%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 15%;
    float: left;
    background: url(../imgs/xilogo/B.jpg) no-repeat;
    background-size: 100% 100%;
}
.yejin_right{
    width: 40%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 20%;
    float: left;
}
.yejin_right p{
    font-size: 23px;
    position: relative;
    left: 0;
    top: 10%;
    text-indent: 46px;
}
#jixie{
    width: 100%;
    height: 500px;
    background-color: rgba(128, 128, 128, 0.2);
}
#jixie>p{
    color: black;
    font-size: 40px;
    position: relative;
    top: 5%;
    left: 10%;
    float: left;
    font-family: '宋体';
}
.jixie_left{
    width: 25%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 15%;
    float: left;
    background: url(../imgs/xilogo/C.jpg) no-repeat;
    background-size: 100% 100%;
}
.jixie_right{
    width: 40%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 20%;
    float: left;
}
.jixie_right p{
    font-size: 23px;
    position: relative;
    left: 0;
    top: 10%;
    text-indent: 46px;
}
#jingji{
    width: 100%;
    height: 500px;
    background-color: rgba(175, 42, 1, 0.2);
}
#jingji>p{
    color: black;
    font-size: 40px;
    position: relative;
    top: 5%;
    left: 10%;
    float: left;
    font-family: '宋体';
}
.jingji_left{
    width: 25%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 15%;
    float: left;
    background: url(../imgs/xilogo/D.jpg) no-repeat;
    background-size: 100% 100%;
}
.jingji_right{
    width: 40%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 20%;
    float: left;
}
.jingji_right p{
    font-size: 23px;
    position: relative;
    left: 0;
    top: 10%;
    text-indent: 46px;
}
#tumu{
    width: 100%;
    height: 500px;
    background-color: rgba(128, 128, 128, 0.2);
}
#tumu>p{
    color: black;
    font-size: 40px;
    position: relative;
    top: 5%;
    left: 10%;
    float: left;
    font-family: '宋体';
}
.tumu_left{
    width: 25%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 15%;
    float: left;
    background: url(../imgs/xilogo/E.jpg) no-repeat;
    background-size: 100% 100%;
}
.tumu_right{
    width: 40%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 20%;
    float: left;
}
.tumu_right p{
    font-size: 23px;
    position: relative;
    left: 0;
    top: 20%;
    text-indent: 46px;
}
#dianqi{
    width: 100%;
    height: 500px;
    background-color: rgba(175, 42, 1, 0.2);
}
#dianqi>p{
    color: black;
    font-size: 40px;
    position: relative;
    top: 5%;
    left: 10%;
    float: left;
    font-family: '宋体';
}
.dianqi_left{
    width: 25%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 15%;
    float: left;
    background: url(../imgs/xilogo/F.jpg) no-repeat;
    background-size: 100% 100%;
}
.dianqi_right{
    width: 40%;
    height: 90%;
    /* border: 1px solid; */
    position: relative;
    top: 5%;
    left: 20%;
    float: left;
}
.dianqi_right p{
    font-size: 23px;
    position: relative;
    left: 0;
    top: 20%;
    text-indent: 46px;
}
/* --------------------------------------------------系部介绍结束-------------------------------------- */
/*------------------------------------ 尾部开始 ---------------------------*/
.footer{
    width: 100%;
    height: 150px;
    margin: 50px auto;
    background-color: rgb(175, 42, 1);
}
.footer_logo{
    width: 150px;
    height: 150px; 
    background: url(../imgs/footerlogo.png) no-repeat;
    background-size: 100% 100%;
    float: left;
    margin-left: 10%;
}
.footer p{
    font-size: 20px;
    color: white;
    font-family: '宋体';
    position: relative;
    top: 35%;
    left: 5%;
}
.tel,.wechat,.e-mail{
    width: 50px;
    height: 50px;
    background-color: rgb(224, 221, 20);
    float: left;
    position: relative;
    left: 50%;
    margin-left: 2%;
}
.tel{
    background: url(../imgs/tel.png) no-repeat;
    background-size: 100% 100%; 
}
.tel:hover{
    background-size: 105% 105%;
}
.wechat{
    background: url(../imgs/wethat.png) no-repeat;
    background-size: 100% 100%; 
}
.e-mail{
    background: url(../imgs/e-mail.png) no-repeat;
    background-size: 100% 100%; 
}
.e-mail:hover{
    background-size: 105% 105%;
}

.my{
    width: 100%;
    height: 100%;
    background: url(../imgs/my.jpg) no-repeat;
    background-size: 100% 100%;
    opacity: 0;
    transition-property: all;
    transition-timing-function: ease-in;
    transition-duration: 1s;
}
.my:hover{
    width: 400%;
    height: 400%;
    opacity: 1;
    transform: translate(-150px,-150px);
}
/* -----------------------------------------尾部结束-------------------------- */
